<template>
  <div class="header">
    <div class="left">
      <div class="logo">
        <img :src="logoUrl" alt="" />
      </div>
      <span>随行笔记</span>
    </div>
    <div class="right">
      <slot />
    </div>
  </div>
</template>
<script>
import logoUrl from "@/assets/logo.png";
export default {
  data() {
    return {
      logoUrl,
    };
  },
};
</script>
<style lang="less" scoped>
@import "./style.less";
</style>